package com.woniu.goodsservice.dao;

import com.woniu.goodsservice.entity.Goodscomments;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface GoodscommentsDao {
    Goodscomments queryById(Integer id);

    List<Goodscomments> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit);
    
    List<Goodscomments> findAll();

    List<Goodscomments> queryAll(Goodscomments goodscomments);

    int insert(Goodscomments goodscomments);

    int update(Goodscomments goodscomments);

    int deleteById(Integer id);

}